<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 19. 使用js将99乘法表输出在控制台

    for (var i = 1; i <= 9; i++) {
      var arr = []
      for (var j = 1; j <= i; j++) {
        arr.push(i + ' * ' + j + ' = ' + i * j)
      }
      console.log(arr.join('\t'))
    }
  </script>
</body>
</html>